import request from '@/router/axios'

export function getBusinessTotal (data) {
  return request({
    url: '/report',
    method: 'get',
    params:data
  })
}


export function getCarReport () {
  return request({
    url: '/report/car-report',
    method: 'get'
  })
}

export function getAlarmReport () {
  return request({
    url: '/report/alarm-report',
    method: 'get'
  })
}


export function getAlarmDistribution (data) {
  return request({
    url: '/report/dis',
    method: 'get',
    params:data
  })
}